package com.sxd.system.service.impl;

import com.sxd.system.service.IDataPermService;
import com.sxd.system.service.ISysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

@Service
public class DataPermServiceImpl implements IDataPermService {

    @Autowired
    private ISysRoleService iSysRoleService;

    @Override
    public String getDataPermType(Long userId) {
        // 查询该用户的角色信息
        iSysRoleService.selectRoleListByUserId(userId);
       return null;
    }

    @Override
    public List<String> getDeptDataPerm(Integer userCode) {
        return null;
    }
}
